import { post } from '@/api/http'

// 获取库存数据
export const getCarSotckData = (data: any) => post({ url: '/carStock/getList', data })

// 获取排车短租列表
export const getPlatoonSOrderList = (data: any) => post({ url: '/sOrder/pageList', data })

// 排车校验
export const platoonCarCheck = (data: any) => post({ url: '/carStock/checkCarStock', data })

// 排车
export const platoonCar = (data: any) => post({ url: '/sOrder/platoonCar', data })

// 车辆临时占用
export const addTempUseApi = (data: any) => post({ url: '/carStock/addTempUse', data })

// 车辆临时占用释放
export const removeTempUse = (data: any) => post({ url: '/carStock/removeTempUse', data })

// 车辆临时占用批量释放
export const removeBatchTempUse = (data: any) => post({ url: '/carStock/removeBatchTempUse', data })
